package io.gitee.yxsnake.framework.retrofit.config;

import io.gitee.yxsnake.framework.retrofit.interceptor.RetrofitTraceIdInterceptor;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * @author snake
 * @description
 * @since 2024/11/20 10:55
 */
@AutoConfiguration
public class RetrofitTraceConfig {

    @Bean
    public RetrofitTraceIdInterceptor retrofitTraceIdInterceptor(){
        return new RetrofitTraceIdInterceptor();
    }
}
